@import '@/styles/common.less';
@background: linear-gradient(180deg, #477DD8DD 0%, #234C9EFF 100%);

.nav {
  padding: 0 32px 0 20px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: @background;
  box-shadow: @card-shadow;

  .logo {
    display: flex;
    align-items: center;

    svg {
      width: 43px;
      height: 43px;
      fill: #fff;
    }

    p {
      font-size: 18px;
      margin-left: 12px;
      font-weight: bolder;
      color: #fff;
    }
  }

  .navList {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;

    a {
      padding: 20px;
      margin-right: 50px;
      text-decoration: none;
      color: #cce6ff;
    }

    .active {
      background: rgba(255, 255, 255, 0.10);
      color: #fff;
      text-align: center;
      font-weight: bold;
    }
  }

  .nav_tools {
    display: flex;
    flex-direction: row;
    align-items: center;

    .tool_icon {
      margin-right: 20px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;

      svg {
        color: #E6F4FF;
        width: 20px;
        height: 20px;
      }
    }

    .tool_icon:hover {
      background: rgba(255, 255, 255, 0.16);

    }

    .appStore {
      cursor: pointer;
    }

    .user_info {
      display: flex;
      align-items: center;
      cursor: pointer;

      .avatar {
        border: 1px solid #f7f7f7ff;
      }

      p {
        margin-left: 5px;
        color: #cce6ff;
      }
    }
  }
}

.tooltip_text {
  color: #000;
}

.tool_theme {
  display: flex;
  flex-direction: row;
  align-items: flex-start;

  .font {
    margin-right: 10px;
    color: #356ac4;
  }
}

.alertTopModal {
  width: 642px !important;
  height: 664px !important;
  position: absolute;
  top: 70px;
  right: 26px;

  .container-platform-modal-title {
    font-size: 20px;
    color: #333;
  }

  .container-platform-modal-body {
    margin-top: -17px;
    margin-bottom: 0 !important;
  }
}

.alarm-notification-content {
  padding: 10px 20px 0px 20px;

  .alarm-notification-content-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 26px;
  }

  .title-notification {
    color: #333333;
    font-size: 20px;
    font-weight: bold;
  }

  .alarm-notification-content-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px;
    height: 70px;
    margin-bottom: 40px;

    .ling {
      height: 90px;
      width: 90px;
    }

    .alarm-notification-content-single {
      display: flex;
      width: 30%;

      .alarm-notification-content-single-title {
        font-size: 16px;
        color: #89939b;
        margin-right: 16px;
      }

      .single-count1 {
        margin-bottom: 0;
        color: #e7434a;
        font-size: 16px;
      }

      .single-count2 {
        margin-bottom: 0;
        color: #F9A975;
        font-size: 16px;
      }

      .single-count3 {
        margin-bottom: 0;
        color: #4B8BEA;
        font-size: 16px;
      }
    }
  }

  .alert_timeLine_box {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #dcdcdcff;
    display: grid;
    gap: 20px;
    padding: 16px 19px;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    top: -25px;

    .alert_timeLine_box_level {
      margin-top: 6px;
      font-size: 14px;
      border-radius: 14px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      width: 72px;
      position: relative;
      right: -24px;
    }

    .alert_timeLine_box_content {
      .alert_timeLine_box_content_title {
        color: #89939b;
        font-size: 12px;
        margin-bottom: 5px;
      }

      .alert_timeLine_box_content_value {
        color: #333;
        font-size: 12px;
      }
    }
  }

  .alarm-notification-content-bottom {
    display: flex;
    justify-content: right;

    .alarm-notification-content-bottom-button {
      width: 96px !important;
      margin-right: 10px;
      background-color: @button-normal-color;
      color: #fff !important;
      border-radius: @button-radius;
    }

    .alarm-notification-content-bottom-button:hover {
      background-color: @button-hover-color;
    }
  }

  .container-platform-timeline-item-last {
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  .container-platform-timeline-item {
    padding-bottom: 8px !important;
  }

}

.@{container-prefix}-container-platform-popover {
  .@{container-prefix}-container-platform-popover-content {
    .@{container-prefix}-container-platform-popover-inner {
      border-radius: 4px !important;
    }
  }
}

.deploy_container {
  position: relative;
  display: flex;
  height: 252px;
  width: 600px;
  justify-content: center;
  flex-direction: column;
  padding: 52px 32px 32px 42px;

  .deploy_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .btn_deploy {
    display: flex;
    justify-content: flex-end;
  }

  .close_btn_log {
    position: absolute;
    top: 15px;
    right: 15px;
  }
}

.yaml_auto_set_box {
  width: 660px;
  height: 252px;
  padding: 25px 20px 25px 25px;

  .yaml_auto_header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .yaml_auto_container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;

    img {
      width: 128px;
      height: 138px;
    }

    .yaml_content {
      margin-left: 22px;

      h3 {
        line-height: 22px;
        font-size: 20px;
        color: #333333;
        font-weight: bold;
        margin-bottom: 20px;
        margin-top: 0;
      }

      p {
        margin-top: 20px;
        color: #89939B;
        font-size: 14px;
        margin-bottom: 20px;

        span {
          color: #89939B;
          font-size: 14px;
        }
      }
    }
  }
}


@media screen and (max-width: 1280px) {
  .nav {
    .navList {
      word-break: keep-all;

      a {
        margin-right: 0;
      }
    }
  }
}